Learning TensorFlow by Tom Hope Yehezkel S. Resheff and Itay Lieder
Author:Tom Hope, Yehezkel S. Resheff, and Itay Lieder
Language: eng
Format: mobi
Publisher: O'Reilly Media, Inc.
Published: 2017-08-16T16:00:00+00:00
The target variable is the median value of owner-occupied homes in thousands of dollars. In this example we try to predict the target variable by using some linear combination of these 13 features.
First, we import the data:
from sklearn import datasets, metrics, preprocessing boston = datasets.load_boston() x_data = preprocessing.StandardScaler().fit_transform(boston.data) y_data = boston.target
Next, we use the same linear regression model as in Chapter 3. This time we track the “loss” so we can measure the mean squared error (MSE), which is the average of the squared differences between the real target value and our predicted value. We use this measure as an indicator of how well our model performs:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Vision & Pattern Recognition | Expert Systems |
Intelligence & Semantics | Machine Theory |
Natural Language Processing | Neural Networks |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8063)
Hadoop in Practice by Alex Holmes(5792)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5640)
Test-Driven Development with Java by Alan Mellor(5005)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4881)
Data Augmentation with Python by Duc Haba(4844)
Principles of Data Fabric by Sonia Mezzetta(4653)
Learn Blender Simulations the Right Way by Stephen Pearson(4440)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(4414)
Big Data Analysis with Python by Ivan Marin(4395)
Functional Programming in JavaScript by Mantyla Dan(3874)
RPA Solution Architect's Handbook by Sachin Sahgal(3813)
The Age of Surveillance Capitalism by Shoshana Zuboff(3657)
The Infinite Retina by Robert Scoble Irena Cronin(3545)
Pretrain Vision and Large Language Models in Python by Emily Webber(3380)
Infrastructure as Code for Beginners by Russ McKendrick(3174)
Deep Learning with PyTorch Lightning by Kunal Sawarkar(3144)
Blockchain Basics by Daniel Drescher(3077)
The Rosie Effect by Graeme Simsion(2916)